using System;
using System.Collections.Generic;
using System.Text;

namespace Parser.Terms
{
    public class Link: Term
    {
        public Link(string address, string title, string text, int position): base(position)
        {
            _address = address;
            _title = title;
            _text = text;
        }

        private string _address;
        private string _title;
        private string _text;

        public string Address
        {
            get { return _address; }
        }

        public string Title
        {
            get { return _title; }
        }

        public string Text
        {
            get { return _text; }
        }

		public override string ToString()
		{
			return Address + " " + Title + " " + Text;
		}
    }
}
